﻿using System;
using System.Collections.Generic;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.EFCore;

/// <summary>
/// 字典类别表
/// </summary>
public partial class DictionaryType
{
    /// <summary>
    /// r,u,d-编号
    /// </summary>
    public int DtId { get; set; }

    /// <summary>
    /// c,r,u,k-名称
    /// </summary>
    public string DtName { get; set; } = null!;

    /// <summary>
    /// c,r,u-查询键值
    /// </summary>
    public string DtKey { get; set; } = null!;

    /// <summary>
    /// c,r,u-描述
    /// </summary>
    public string? DtDescription { get; set; }

    /// <summary>
    /// r-创建时间
    /// </summary>
    public DateTime DtCreateTime { get; set; }

    /// <summary>
    /// r-修改时间
    /// </summary>
    public DateTime? DtUpdateTime { get; set; }

    public virtual ICollection<Dictionary> Dictionaries { get; set; } = new List<Dictionary>();
}
